package com.crush.security.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.crush.security.entity.TbUser;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * @Author: crush
 * @Date: 2021-09-07 15:40
 * version 1.0
 */
public interface ITbUserService extends IService<TbUser> {


    UserDetails getByEmail(String email);

    UserDetails getByMobile(String mobile);
}
